package com.dcsgo.myTankGameServers;

import java.net.Socket;
import java.util.HashMap;

/**
 * @author DCSGO
 * @version 1.0
 * 客户端连接管理
 */
public class ClientSocketManage {
    private static final HashMap<Integer, Socket> clients = new HashMap<>();
    public static void remove(int key){
        TankManager.remove(key);
        clients.remove(key);
    }
    public static void put(int key,Socket val){
        clients.put(key,val);
    }
}
